Skip to content

fix(log): prevent system info string accumulation across calls in llama_print_system_info()#11101

Merged
ggerganov merged 1 commit intoggml-org:masterfrom
a-ghorbani:fix-system-info-string-accumulation
Jan 6, 2025
Merged

fix(log): prevent system info string accumulation across calls in llama_print_system_info()#11101
ggerganov merged 1 commit intoggml-org:masterfrom
a-ghorbani:fix-system-info-string-accumulation

Conversation

@a-ghorbani
Copy link
Contributor

This PR fixes a minor issue where the static string in llama_print_system_info() would accumulate data across multiple function calls, by adding s.clear() at the start of the function.

@ggerganov ggerganov merged commit 96a1dc2 into ggml-org:master Jan 6, 2025
47 checks passed
arthw pushed a commit to arthw/llama.cpp that referenced this pull request Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants